home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 32
/
Mac Magazin and MacEasy Magazine CD - Issue 32.iso
/
Grafik & Text
/
OzTeX3.0
/
Help-files
/
Changes to OzTeX 2.0
< prev
next >
Wrap
Text File
|
1996-08-16
|
9KB
|
184 lines
Changes to OzTeX 2.0
====================
• The pk_folders parameter has been replaced by a new one called pk_files.
Instead of a list of folders, pk_files has a list of PK file templates.
The new Default config file contains the same templates used by OzDVIPS:
pk_files = %f.%dpk :PK-files:%f.%dpk :PK-files:%d:%f.%dpk
These templates tell OzTeX how to search for a PK file after doing the
following substitutions:
%f is replaced by the desired font name (eg. cmr10)
%d is replaced by the desired font size (eg. 360)
%b is replaced by the base resolution (eg. 300)
%m is replaced by the mode (eg. laserwriter)
%% is replaced by "%" (in case you want "%" in a folder name)
Apart from being consistent with OzDVIPS, this scheme is more flexible,
especially if you want to keep PK files created by different modes in
separate folders (eg. :PK-files:%m:%d:%f.%dpk).
The above templates correspond with how OzTeX used to locate PK files.
(Well, almost. The template ":PK-files:%d:%f" has not been included
because I don't recommend using PK files without any "pk" extension.)
• A new parameter called dvips_options is used when "Use DVIPS" is ticked.
The given string automatically appears in the extra options box in the
DVIPS dialog. The Default config sets dvips_options to an empty string,
but the new Linotronic config file changes it to "-P linohi" and the
600 dpi Printer config file changes it to "-P 600dpi".
• All VF files in the VF-files folder have been rebuilt to remove redundant
"MOVERIGHT R 0.0" commands. Along with some extremely small differences
in TFM/VF character widths, they caused OzTeX's Fix VFs item to slow down
dramatically and create very large DVI files. I've changed Fix VFs to
prevent this happening.
• Fixed a bug in the handling of the standard_prolog file (the Default config
sets this to :PS-files:OzTeXdict.pro). OzTeX 2.0 looked for this file in
the current folder first and then in the ps_folders list. It was just luck
that most users never noticed a problem because OzTeX was able to open
:PS-files::PS-files:OzTeXdict.pro. The standard_prolog file is now located
exactly like the dvi_to_ps_prolog file. Note that the old method of using
a local version of OzTeXdict.pro in the current folder will no longer work.
I suspect nobody used this trick, but if you want to do something similar
then you'll have to switch to a config file that changes standard_prolog.
• OzTeX no longer checks for printer errors at the end of a print job if
"Use Standard PostScript" is ticked. This is because some people reported
"Printer error: -50" warnings even though the file printed ok. It only
seemed to occur if background printing and file sharing were enabled.
• A number of bugs in DVIDVI have been fixed:
The -n option now works as expected. For example, -f4 -n3 will select
pages 4, 5 and 6; and -r -n3 will select the last three pages.
\special commands with very long arguments (for example, raw PostScript
code targeted at dvips) are now correctly copied to the output file.
The \special{landscape} command used by dvips is now processed correctly.
• Fixed a nasty bug due to my compiler's rounding routine (only 68000 code).
Fortunately it had no effect on TeX's typesetting. In fact, the only
reported problem was the occasional mistake when calculating the size of
a PK file. For example, if you asked for "\font\xxx=cmtt8 scaled 875"
then OzTeX would look for cmtt8.262pk rather than cmtt8.263pk (assuming
a viewing_resolution of 300, the size = 0.875 * 300 = 262.5, which should
round up to 263). This would then stuff up MakeTeXPK when it tried to
make the missing PK file.
• After loading a config file, OzTeX now checks that the printing/viewing
resolution is correct for the common Metafont modes: ie. imagewriter = 144,
laserwriter = 300, stylewriter = 360, ljfour = 600 and linohi = 1270.
This should prevent the most likely cause of MakeTeXPK failing to make
missing PK fonts.
• Added the June 1996 release of LaTeX (thanks to Andy Fyfe).
Not much has changed since the previous release; see ltnews05.tex in
the :TeX-inputs:LaTeX: folder.
• Added the latest version plain.tex to :TeX-inputs:Plain: and rebuilt all
format files.
OzMF changes
------------
• The pk_folder parameter has been replaced by pk_file. Instead of a folder,
pk_file specifies a template for the PK files created by MakeTeXPK.
The new Default config file contains a template compatible with the
previous version of MakeTeXPK:
pk_file = :PK-files:%f.%dpk
MakeTeXPK will do the same substitutions as done by OzTeX and OzDVIPS for
their pk_files parameter (see above).
If you supply a template like ":PK-files:%d:%f.%dpk" then OzMF will create
any missing sub-folders that occur as a result of substituting "%d" by
previously unknown font sizes. Ditto for a template containing "%m".
WARNING: The pk_file template must match one of the templates used by
OzTeX/OzDVIPS so that they can find PK files created by MakeTeXPK!
• The "No PK Folder" config file is now called "Make Local PK". It simply
sets pk_file to "%f.%dpk".
• MakeTeXPK will now keep processing if errors occur. All error messages
are appended to a MakeTeXPK.log file in the same folder as the .make file.
This is handy when building lots of PK fonts; a minor Metafont error will
no longer stop the entire process.
• The buffers used in MakeTeXPK for passing data to Metafont have been
increased to avoid truncating long command lines. This could occur when
using a very long mode_def name like VarityperFourThreeZeroZeroHi.
• A new auto_quit flag parameter is used by MakeTeXPK. If true then OzMF
quits after all lines in a .make file have been successfully processed.
• Some internal parameters used by TFtoPL/PLtoTF/VFtoVP/VPtoVF have been
increased to cope with a large amount of ligature/kern data.
• You can now drag .tfm/.pl/.vf/.vpl files to the OzMF icon and the files
will be processed by TFtoPL/PLtoTF/VFtoVP/VPtoVF respectively.
• If many GF files are dragged to the OzMF icon then all the files will now
be processed by GFtoPK without pausing if OzMF is sent to the background.
• Added the latest versions of modes.mf and plain.mf to :Metafont:Inputs:
and rebuilt all base files.
OzDVIPS changes
---------------
• OzDVIPS has been modified to correctly handle DVI files created by OzTeX's
Fix VFs code (or any other implementation of DVIcopy). In the past it was
possible to see what looked like very bad kerning if dvips was given a DVI
file that had been created by DVIcopy.
[For those who want the technical details: DVIcopy includes a minor
extension to the Knuth-recommended method for rounding pixels. In certain
situations it will add invisible rules with a special negative height into
the new DVI file. OzTeX's DVI-reading code knows about this extension,
so when it sees such a rule it does horizontal rounding in the manner
required by DVIcopy. But OzDVIPS didn't know about the extension and so
it rounded differently. That has now been fixed. DVIcopy has been the
cause of too much angst, so I will eventually remove Fix VFs from OzTeX
and handle virtual fonts in the same way that OzDVIPS does.]
• Fixed a bug in OzDVIPS that could prevent a non-resident PostScript font
(LWFN file) from being included in the output. This only happened if a
psfonts.map line had multiple "<" entries and the LWFN file was not the
first such entry (eg. <8r.enc <CMR10). While fixing this bug I also
noticed that dvips 5.58 does not generate correct comments if the first
"<" entry is not a downloaded font. For example, if psfonts.map has
tfmname fontname ... <8r.enc <foo.pfa
then dvips would create a .ps file containing:
%%BeginFont: fontname
<contents of 8r.enc>
%%EndFont
%%BeginProcSet: foo.pfa
<contents of foo.pfa>
%%EndProcSet
While this won't normally cause any problems, it might confuse programs
that read .ps files looking for %%BeginFont comments, so OzDVIPS has been
modified to check for .enc/.pfa/.pfb extensions and make sure that the
correct comments are generated.
• Created config.600dpi in :DVIPS:Inputs: so that OzTeX's 600 dpi Printer
config file can set dvips_options to "-P 600dpi" (see above).
• Added a new config file parameter called bypass_dialog. If set to true
then the dialog box for setting dvips options does not appear and the
other dialog parameter settings are used.
• Another new config file parameter is called auto_quit. If true then
OzDVIPS automatically quits after a successful dvips run (after send_ps
and delete_ps have been obeyed).